﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Calculin.CuentaControl" FontSize="13.333">
	<Border BorderBrush="#FF4EE026" BorderThickness="1" CornerRadius="2">
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="Resultados">
				<VisualState x:Name="Correcto">
					<Storyboard>
						<ColorAnimation Duration="0" To="#FF4CF535" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True"/>
					</Storyboard>
				</VisualState>
				<VisualState x:Name="InCorrecto">
					<Storyboard>
						<ColorAnimation Duration="0" To="#FFF55835" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True"/>
					</Storyboard>
				</VisualState>
				<VisualState x:Name="Normal"/>
			</VisualStateGroup>
		</VisualStateManager.VisualStateGroups>
		<StackPanel Orientation="Horizontal" x:Name="LayoutRoot">
		<StackPanel.Background>
			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
				<GradientStop Color="#FF3541F5" Offset="0"/>
				<GradientStop Color="White" Offset="1"/>
			</LinearGradientBrush>
		</StackPanel.Background>
      <TextBox x:Name="xCuenta" Text="12345+6789" VerticalAlignment="Center"  TextAlignment="Center" Background="Transparent" BorderBrush="Transparent"></TextBox>
			<TextBlock  Text="=" VerticalAlignment="Center" Margin="2,0" ></TextBlock>
			<TextBox x:Name="xResultado" Text="Resultado" ></TextBox>
			<TextBox x:Name="xResto" Text="Resto" Margin="3,0,0,0"></TextBox>
			<TextBlock x:Name="xSolution" Text="" VerticalAlignment="Center" Foreground="#FF803602" Margin="5,0,0,0" />
		</StackPanel>
</Border>		
</UserControl>